//
//  main.m
//  Synthesize1
//
//  Created by cora1n on 14-8-5.
//  Copyright (c) 2014年 devwu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FangWu.h"
#import "ChuangHu.h"
#import "Men.h"
int main(int argc, const char * argv[])
{

    FangWu * f = [[FangWu alloc]init];
    ChuangHu * chuang1 = [[ChuangHu alloc]init];
    ChuangHu * chuang2 = [[ChuangHu alloc]init];
    Men * men = [[Men alloc]init];
    
    //组装成功
    [f setMen:men];
    [f setChuangHu:chuang1 diJiGe:0];
    [f setChuangHu:chuang2 diJiGe:1];
    
    //进门
//    [f jin];
    //换气
    [f huanQi];
    
    return 0;
}

